package com.jz.community.moduleauthorization.login.net;

import com.jz.community.basecomm.bean.BaseResponseInfo;
import com.jz.community.basecomm.bean.UserInfo;
import com.jz.community.basecomm.constant.Constant;

import java.util.HashMap;

import io.reactivex.Observable;
import retrofit2.http.FieldMap;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;
import retrofit2.http.PUT;
import retrofit2.http.Query;
import retrofit2.http.QueryMap;

/**
 * Created by Tony.Fan on 2018/3/22 09:36
 */
public interface LoginResetPwdApi {

    @PUT(Constant.RESET_PASSWORD_URL)
    Observable<BaseResponseInfo> getResetInfo(@Query("userName") String userName, @Query("password") String password);

    @POST(Constant.BIND_JUPSH_URL)
    Observable<String> getBindJupsh(@QueryMap HashMap<String, Object> map);

}
